/*@import "bootstrap/dist/css/bootstrap.css";*/

.loading {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  z-index: 999;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, .4);
}

.loading.show {
  display: flex;
}

.span{
  width: 100px;
  background-color: rgba(0,0,0, 0.02);
  height: 100px;
  vertical-align: middle;
  border-radius: 1px;
  margin-right: 100px;
}

/*square*/
.square{
  width: 20px;
  height: 20px;
  border:1px  rgba(255,0,0,1) solid;
  margin: 36px auto;
  position: relative;
  -webkit-animation: fill_color 5s linear infinite;
  -moz-animation: fill_color 5s linear infinite;
  animation: fill_color 5s linear infinite;
}
.square:after{
  width: 4px;
  height: 4px;
  position: absolute;
  content: "";
  background-color: rgba(255,0,0,1);
  top: -8px;
  left: 0px;
  -webkit-animation: square_check 1s ease-in-out infinite;
  -moz-animation: square_check 1s ease-in-out infinite;
  animation: square_check 1s ease-in-out infinite;
}

@-webkit-keyframes square_check{
  25%{ left: 22px; top: -8px;}
  50%{ left: 22px; top: 22px;}
  75%{ left: -9px; top: 22px;}
  100%{ left: -9px; top: -7px;}
}
@-moz-keyframes square_check{
  25%{ left: 22px; top: -8px;}
  50%{ left: 22px; top: 22px;}
  75%{ left: -9px; top: 22px;}
  100%{ left: -9px; top: -7px;}
}
@keyframes square_check{
  25%{ left: 22px; top: -8px;}
  50%{ left: 22px; top: 22px;}
  75%{ left: -9px; top: 22px;}
  100%{ left: -9px; top: -7px;}
}



.my-banner .carousel-inner .carousel-item {
  height: 400px;
}

.my-banner .carousel-inner .carousel-item img {
  height: 100%;
  width: 100%;
  /*object-position: bottom;*/
  object-fit: cover;
}

.my-card {
  height: 400px;
}

.my-card .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.my-card .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
}

.my-first {
  margin-top: 50px;
  margin-bottom: 50px;
}

.my-list .card {
  margin-bottom: 20px;
  height: 400px;
}

.my-list .card img {
  height: 200px;
  object-fit: cover;
}

.my-list .card h5 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box; /* 将对象作为弹性伸缩盒子模型显示 */
  -webkit-line-clamp: 2; /* 控制最多显示几行 */
  -webkit-box-orient: vertical; /* 设置或检索伸缩盒对象的子元素的排列方式 */
}

.my-list .card p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box; /* 将对象作为弹性伸缩盒子模型显示 */
  -webkit-line-clamp: 3; /* 控制最多显示几行 */
  -webkit-box-orient: vertical; /* 设置或检索伸缩盒对象的子元素的排列方式 */
}
